package pl.taskman.testing;

import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;

public class ActionHandler implements ActionListener
{
	@Override
	public void actionPerformed(ActionEvent e)
	{
		String command = e.getActionCommand();
		
		if (command.equals("EXIT"))
		{
			Manager.getMWT().exit();
		}
		if (command.equals("QUIT"))
		{
			Manager.getLWT().exit();
		}
	}

}
